package com.weilive.core.netty;

import com.weilive.core.protocol.PacketError;

public class NettyErrors {
	
	public static final PacketError CODE_SERVER_ERROR = new PacketError(1, "Server Error!");
	public static final PacketError BAD_REQUEST = new PacketError(400, "Bad Request");
	public static final PacketError FORBIDDEN = new PacketError(403, "Forbidden");
	public static final PacketError NOT_FOUND = new PacketError(404, "Not Found");
	public static final PacketError METHOD_NOT_ALLOWED = new PacketError(404, "Method Not Allowed");
	public static final PacketError REQUEST_TIMEOUT = new PacketError(408, "Request Timeout");

	public static final PacketError USER_NOT_LOGIN = new PacketError(2010, "User not login!");
}
